﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;
namespace OneMG.Phoenix.Respository
{
    public interface IOrganization
    {
    
        void AddOrganization(EOrganization organization);

        void UpdateByOrgID(EOrganization organization);

		void DeleteByOrgID(System.Int32 orgID);
		 
        EOrganization GetByOrgID(System.Int32  orgID);

        IList<EOrganization> GetByParentID(int parentID);

        IList<EOrganization> GetByParentIDPagedList(int parentID, int pageSize, int pageIndex, out int totalRecord);



    }
}